﻿using A.M.ETO;
using A.M.Storage.I_Application;
using L.M.System.Domain.DTO;
using L.M.System.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace L.M.System.Application.IServices
{
    public interface IRole_button_permissionsServices: IBaseServices<role_button_permissions, string>
    {
        /// <summary>
        /// 获取该角色的所有按钮权限进行反填
        /// </summary>
        /// <param name="rId">角色编号</param>
        /// <returns>获取该角色的所有按钮权限进行反填</returns>
        Task<ApiReturn<string>> GetRoleButtonInfor(string? rId);

        /// <summary>
        /// 获取每个界面的权限
        /// </summary>
        /// <param name="roleButton"></param>
        /// <returns>获取每个界面的权限</returns>
        Task<ApiReturn<string>> GetRoleNumber(RoleButton roleButton);
    }
}
